package Library;


/*3.Manager类定义了管理员属性,设计采用单例模式,因为只有一位管理员提供get、set
方法*/

public class Manager {
	
	private String name;
	private String password;
	
	public final static Manager manager = new Manager();

	public String getName() {
		return manager.name;
	}

	public void setName(String name) {
		manager.name = name;
	}

	public String getPassword() {
		return manager.password;
	}

	public void setPassword(String password) {
		manager.password = password;
	}



}
